﻿<!DOCTYPE html>
<html style="font-size: 40px;" data-dpr="1" lang="zh-CN"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  	<title>会员中心</title>
  	<meta charset="utf-8">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-touch-fullscreen" content="yes">
	<meta content="fullscreen=yes,preventMove=no" name="ML-Config">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" name="viewport">
	<meta name="format-detection" content="telephone=no,email=no,address=no">
  <link rel="stylesheet" type="text/css" href="/shop/templates/default/css/mine.css">
   <link rel="stylesheet" type="text/css" href="/shop/templates/default/css/layer.css">
 <script>
	//document.domain = 'clofood.cn';
	! function(a) {
		function b() {
			var b = g.getBoundingClientRect().width;
			b / c > 640 && (b = 640 * c), a.rem = b / 16, g.style.fontSize = a.rem + "px"
		}
		var c, d, e, f = a.document,
			g = f.documentElement,
			h = f.querySelector('meta[name="viewport"]'),
			i = f.querySelector('meta[name="flexible"]');
		if (h) {
			var j = h.getAttribute("content").match(/initial\-scale=(["']?)([\d\.]+)\1?/);
			j && (d = parseFloat(j[2]), c = parseInt(1 / d))
		} else if (i) {
			var j = i.getAttribute("content").match(/initial\-dpr=(["']?)([\d\.]+)\1?/);
			j && (c = parseFloat(j[2]), d = parseFloat((1 / c).toFixed(2)))
		}
		if (!c && !d) {
			var k = (a.navigator.appVersion.match(/android/gi), a.navigator.appVersion.match(/iphone/gi)),
				c = a.devicePixelRatio;
			c = k ? c >= 3 ? 3 : c >= 2 ? 2 : 1 : 1, d = 1 / c
		}
		if (g.setAttribute("data-dpr", c), !h)
			if (h = f.createElement("meta"), h.setAttribute("name", "viewport"), h.setAttribute("content", "initial-scale=" + d + ", maximum-scale=" + d + ", minimum-scale=" + d + ", user-scalable=no"), g.firstElementChild) g.firstElementChild.appendChild(h);
			else {
				var l = f.createElement("div");
				l.appendChild(h), f.write(l.innerHTML)
			}
		a.dpr = c, a.addEventListener("resize", function() {
			clearTimeout(e), e = setTimeout(b, 300)
		}, !1), a.addEventListener("pageshow", function(a) {
			a.persisted && (clearTimeout(e), e = setTimeout(b, 300))
		}, !1), "complete" === f.readyState ? f.body.style.fontSize = 12 * c + "px" : f.addEventListener("DOMContentLoaded", function() {
			f.body.style.fontSize = 12 * c + "px"
		}, !1), b()
	}(window);
		// var targetProtocol = "https:";
	// if (window.location.protocol != targetProtocol){
	// 	window.location.href = targetProtocol + window.location.href.substring(window.location.protocol.length);
     // }
	var basePath = "{$yuming}", baseParam = "openid={$openid}&wid={$wid}&shopid={$shopid}";
	</script>
   
</head>
<body style="font-size: 12px;">
        <input type="hidden" value="{$wid}" id="hidwid" name="hidwid">
    <input type="hidden" value="{$openid}" id="openid" name="openid">
  	<div class="wrap">
	    	<div class="infor">
                    <div class="photo">
                        <a href="#">
                         <!--<div class="pic"><img src="/shop/templates/default/images/nologin.png"></div>-->
                          <div class="pic"><img src="{$avatar}"></div>
                          <h1><span></span><em onclick="view_userbaseinfo(this)">账户设置、收货地址<i class="iconfont"></i></em></h1>
                        </a>
                    </div>
	    	</div>
			<div class="myorder">
	    			<ul class="status">
                        <li style="width:5.4rem"><a href="javascript:;" onclick="view_child(this)"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/by_rq.png"></i><p>我的人气</p></a></li>
                        <li style="width:5.3rem"><a href="javascript:;" onclick="view_myoder(this)"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/by_order.png"></i><p>本月订单</p></a></li>
                        <li style="width:5.3rem"><a href="javascript:;" onclick="view_rate(this)"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/by_jf.png"></i><p>本月积分</p></a></li>
                    </ul>
	    	</div>
    	    <div class="mywallet">
                        <a href="javascript:;" onclick="view_myoder(this)"><span><i>
                            <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/icon-order.png">
                             </i><b>我的订单</b></span>
                        </a>
	    	    </div>
	    	<div class="mywallet">
                    <a href="javascript:;" onclick="view_userRate(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/wdjf.png">
                         </i><b>我的积分</b></span>
                    </a>
	    	</div>
            <div class="mywallet">
                    <a href="javascript:;" onclick="view_wallet(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/wdqb.png">
                         </i><b>我的钱包</b></span>
                    </a>
	    	</div>  
            <div class="mywallet">
                    <a href="javascript:;" onclick="view_quan(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/yhj.png">
                         </i><b>优惠券</b></span>
                    </a>
	    	</div> 
	    	<div class="mywallet">
                    <a href="javascript:;" onclick="view_bbs(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/yjfk.png">
                         </i><b>我要留言</b></span>
                    </a>
	    	</div>
            <div class="mywallet">
                    <a href="javascript:;" onclick="view_exchange(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/jfdh.png">
                         </i><b>积分兑换</b></span>
                    </a>
	    	</div>    	
            <div class="mywallet">
                    <a href="javascript:;" onclick="view_editinfo(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/grxx.png">
                         </i><b>完善个人信息</b></span>
                    </a>
	    	</div>  
            <div class="mywallet">
                    <a href="javascript:;" onclick="view_qrcode(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/ewm.png">
                         </i><b>二维码</b></span>
                    </a>
	    	</div>  
            <div class="mywallet">
                    <a href="javascript:;" onclick="view_haibao(this)"><span><i>
                        <img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/hb.png">
                         </i><b>海报</b></span>
                    </a>
	    	</div>  
	<div class="footer">
		<ul class="clearfix">
			<li class="selected"><a href="{$indexurl}"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/icon-home.png"></i><span>首页</span></a></li>
			<li><a href="{$categoryurl}"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/icon-cat.png"></i><span>分类</span></a></li>
			<li class="head-shopcart "><a href="{$carturl}"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/icon-cart.png"></i><span>购物车</span></a>
			<li><a href="{$userurl}"><i><img style="height:0.8rem;width:0.8rem;" src="/shop/templates/default/images/icon-user.png"></i><span>我的</span></a></li>
		</ul>
	</div>
<!--	<vt:template id="_bottom" file="_bottom2.html" charset="utf-8" />-->
  	</div>
     <form id="form1" name="form1" method="post">
    <input name="order_id" id="order_id" type="hidden" />
    </form>
<script src="/shop/templates/default/js/hm.js"></script>
<script src="/shop/templates/default/js/zepto.min.js"></script>
    <script type="text/javascript">
        function view_log(e) {
            var orderid = $(e).data("orderid");
            //$("#order_id").val(orderid);
            //document.form1.action = "/cmd/logistics.html?" + window.baseParam;
            //document.form1.submit();
            //window.location+orderid;
        }
        function view_order(e) {
            var orderid = $(e).data("orderid");
            window.location = "/shop/order_detail.aspx?orderid=" + orderid + "&" + window.baseParam;
        }
        function view_userRate(e) {
            window.location = "/shop/userrate.aspx?" + window.baseParam;
        }
        function view_userbaseinfo(e) {
            window.location = "/shop/userbaseinfo.aspx?" + window.baseParam;
        }
        function view_bbs(e) {
            window.location = "/shop/userbbsadd.aspx?" + window.baseParam;
        }
        function view_myoder(e)
        {
            window.location = "/shop/order_list.aspx?" + window.baseParam;
        }
        function view_exchange(e) {
            window.location = "/shop/userratepoints_list.aspx?" + window.baseParam;
        }
        function view_editinfo(e) {
            window.location = "/shop/userbaseinfo.aspx?" + window.baseParam;
        }
        function view_qrcode(e) {
            window.location = "/shop/userqrcode.aspx?" + window.baseParam;
        }
        function view_haibao(e) {
            window.location = "/shop/userqrcodepic.aspx?" + window.baseParam;
        }
        function view_wallet(e) {
            window.location = "/shop/userwallet.aspx?" + window.baseParam;
        }
        function view_quan(e) {
            window.location = "/shop/mycoupon.aspx?" + window.baseParam;
        }
        function view_child(e) {
            window.location = "/shop/userchild.aspx?" + window.baseParam;
        }
        function view_rate(e) {
            window.location = "/shop/userratepoints.aspx?" + window.baseParam;
        }
        //function confirmRecv(e) {
        //    var orderid= $(e).data("orderid"); 
        //    $("#order_id").val(orderid);
        //    document.form1.action="/plus/action/receipt/ok?"+window.baseParam;
        //    document.form1.submit();
        //}
    </script>

</body>

</html>
